<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:a4j="http://richfaces.org/a4j"
	  xmlns:rich="http://richfaces.org/rich"
	  
	  lang="#{localeBean.language}">

<a4j:loadBundle basename="messages" var="bundle"/>

<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8"/>
<title>
	<ui:insert name="title">#{bundle['generic.application.title']}</ui:insert>
</title>
<link rel="STYLESHEET" type="text/css" href="${facesContext.externalContext.requestContextPath}/css/common.css"/>
 
<ui:include src="/templates/include/dynamic-css.xhtml" />
<script>
A4J.AJAX.onExpired = function(loc, expiredMsg){
    if(window.confirm(expiredMsg)){
      return loc;
    } else {
     return false;
    }
}
</script>
</head>

<body>

<f:view locale="#{localeBean.locale}">

<rich:panel id="entireScreen" style="border:0px;">
<ui:include src="/templates/include/header.xhtml" />

<table class="left_menu" cellpadding="0" cellspacing="0" border="0">
<tbody>
	<tr>
		<td>
			<ui:include src="/templates/include/components-navigation.xhtml" />
			<div class="menu_separator">
				&nbsp;
			</div>
		</td>
	</tr>
</tbody>
</table>

<!--
<h:graphicImage value="#{componentNavigator.currentComponent.captionImage}" 
	rendered="#{componentNavigator.hasCurrentComponent}" height="40" alt="" border="0" styleClass="component_name"/>
-->

<table cellpadding="0" cellspacing="0" border="0" class="content_container" width="100%">
<tbody>
	<tr>
		<td>
			<div class="content_container_left_brick"></div>
		</td>
		<td width="100%" class="content_container_pdddings">
<!-- tabpanel begin -->
		<ui:insert name="body">Body</ui:insert>
<!-- tabpanel end -->	
		<rich:spacer style="height:10px;" />
		<rich:separator style="height:1px" />
		</td>
	</tr>
</tbody>
</table>

<ui:include src="/templates/include/footer.xhtml" />

<!--
<script type="text/javascript" src="http://www.google-analytics.com/urchin.js"></script>

<script type="text/javascript">
if (window.location.hostname.indexOf("pef.czu.cz") != -1) {
	_uacct = "MY_SITE_ID";
	urchinTracker();
}
</script>
-->

</rich:panel>
</f:view>

</body>
</html>
